<template>
  <div class="m-5 p-5 bg-white rounded-lg">
    <div class="text-right my-3">
      <el-button type="primary">新建日志</el-button>
    </div>
    <el-table :data="tableData2">
      <!-- <el-table-column type="selection" width="50" align="center" /> -->
      <el-table-column type="index" label="序" width="70" />
      <el-table-column v-for="(item, index) in ss" :key="index" :prop="'email' + index" :label="item" />
    </el-table>
  </div>
</template>
<script setup>
const ss = ["日志名称", "工作内容", "时间"]
const tableData2 = [
  {
    email0: "日志1",
    email1: "工作内容1",
    email2: "2023-03-15 14:31:28"
  },
  {
    email0: "日志2",
    email1: "工作内容2",
    email2: "2023-03-16 14:31:28"
  },
  {
    email0: "日志3",
    email1: "工作内容3",
    email2: "2023-03-17 14:31:28"
  }
]
</script>
<style lang="scss" scoped></style>
